package com.starking.wxx.thread;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @描述: 第一个thread
 * @文件名: TestThread.java
 * @创建人: wangxinxin
 * @创建时间: 2018/11/1
 * @修改人: wangxinxin
 * @修改备注: <br/>
 * <p>
 */
public class TestThread implements Runnable {

    public static final Logger LOGGER = LoggerFactory.getLogger(TestThread.class);

    @Override
    public void run() {
        LOGGER.info("thread-name : " + Thread.currentThread().getName() + ",run start.........");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        LOGGER.info("thread-name : " + Thread.currentThread().getName() + ",run end.........");
    }
}
